package com.venus.plan.planresource.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.venus.common.form.BaseForm;
import com.venus.common.utils.Constants;

public class PlanResourceForm extends BaseForm {
	
	private static final long serialVersionUID = 1L;

	private Integer planResourceId;

	private String planResourceName;

	private Integer resourceType;

	private String createDate;

	private String startDate;

	private String endDate;

	private Integer isDone;

	private String doneDate;

	private Integer priority;

	private Integer progress;

	private Integer doneActionCount;

	private Integer property;

	private String note;

	private String[] planResourceIds;
	
	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		this.resourceType = 0;
		this.createDate = "";
		this.startDate = "";
		this.endDate = "";
		this.isDone = 0;
		this.doneDate = "";
		this.priority = 0;
		this.progress = 0;
		this.doneActionCount = 0;
		this.note = "";
		
		this.pageRecord = Constants.PAGEINFO_PAGERECORD;
		this.curPage = 1;
		
		super.reset(mapping, request);
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public Integer getDoneActionCount() {
		return doneActionCount;
	}

	public void setDoneActionCount(Integer doneActionCount) {
		this.doneActionCount = doneActionCount;
	}

	public String getDoneDate() {
		return doneDate;
	}

	public void setDoneDate(String doneDate) {
		this.doneDate = doneDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Integer getIsDone() {
		return isDone;
	}

	public void setIsDone(Integer isDone) {
		this.isDone = isDone;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Integer getPlanResourceId() {
		return planResourceId;
	}

	public void setPlanResourceId(Integer planResourceId) {
		this.planResourceId = planResourceId;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getProgress() {
		return progress;
	}

	public void setProgress(Integer progress) {
		this.progress = progress;
	}

	public Integer getResourceType() {
		return resourceType;
	}

	public void setResourceType(Integer resourceType) {
		this.resourceType = resourceType;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String[] getPlanResourceIds() {
		return planResourceIds;
	}

	public void setPlanResourceIds(String[] planResourceIds) {
		this.planResourceIds = planResourceIds;
	}

	public Integer getProperty() {
		return property;
	}

	public void setProperty(Integer property) {
		this.property = property;
	}

	public String getPlanResourceName() {
		return planResourceName;
	}

	public void setPlanResourceName(String planResourceName) {
		this.planResourceName = planResourceName;
	}
	
}
